
namespace SjEntityClass
{
    /// <summary>
    /// 工单单头档
    ///</summary>
    [SugarTable("SFAA_T")]
    
    public class SfaaT
    {
        /// <summary>
        /// 企业编号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAENT", IsPrimaryKey = true)]
        public string Sfaaent { get; set; }
        /// <summary>
        /// 资料所有者 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAOWNID")]
        public string Sfaaownid { get; set; }
        /// <summary>
        /// 资料所有部门 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAOWNDP")]
        public string Sfaaowndp { get; set; }
        /// <summary>
        /// 资料录入者 
        ///</summary>
        [SugarColumn(ColumnName = "SFAACRTID")]
        public string Sfaacrtid { get; set; }
        /// <summary>
        /// 资料录入部门 
        ///</summary>
        [SugarColumn(ColumnName = "SFAACRTDP")]
        public string Sfaacrtdp { get; set; }
        /// <summary>
        /// 资料创建日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAACRTDT")]
        public DateTime? Sfaacrtdt { get; set; }
        /// <summary>
        /// 资料更改者 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAMODID")]
        public string Sfaamodid { get; set; }
        /// <summary>
        /// 最近更改日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAMODDT")]
        public DateTime? Sfaamoddt { get; set; }
        /// <summary>
        /// 资料审核者 
        ///</summary>
        [SugarColumn(ColumnName = "SFAACNFID")]
        public string Sfaacnfid { get; set; }
        /// <summary>
        /// 数据审核日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAACNFDT")]
        public DateTime? Sfaacnfdt { get; set; }
        /// <summary>
        /// 资料过账者 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAPSTID")]
        public string Sfaapstid { get; set; }
        /// <summary>
        /// 资料过账日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAPSTDT")]
        public DateTime? Sfaapstdt { get; set; }
        /// <summary>
        /// 状态码 
        ///</summary>
        [SugarColumn(ColumnName = "SFAASTUS")]
        public string Sfaastus { get; set; }
        /// <summary>
        /// 营运据点 
        ///</summary>
        [SugarColumn(ColumnName = "SFAASITE")]
        public string Sfaasite { get; set; }
        /// <summary>
        /// 单号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAADOCNO", IsPrimaryKey = true)]
        public string Sfaadocno { get; set; }
        /// <summary>
        /// 单据日期 
        ///</summary>
        [SugarColumn(ColumnName = "SFAADOCDT")]
        public DateTime? Sfaadocdt { get; set; }
        /// <summary>
        /// 变更版本 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA001")]
        public string Sfaa001 { get; set; }
        /// <summary>
        /// 生管人员 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA002")]
        public string Sfaa002 { get; set; }
        /// <summary>
        /// 工单类型 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA003")]
        public string Sfaa003 { get; set; }
        /// <summary>
        /// 发料制度 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA004")]
        public string Sfaa004 { get; set; }
        /// <summary>
        /// 工单来源 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA005")]
        public string Sfaa005 { get; set; }
        /// <summary>
        /// 来源单号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA006")]
        public string Sfaa006 { get; set; }
        /// <summary>
        /// 来源项次 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA007")]
        public long? Sfaa007 { get; set; }
        /// <summary>
        /// 来源项序 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA008")]
        public long? Sfaa008 { get; set; }
        /// <summary>
        /// 参考客户 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA009")]
        public string Sfaa009 { get; set; }
        /// <summary>
        /// 生产料号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA010")]
        public string Sfaa010 { get; set; }
        /// <summary>
        /// 特性 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA011")]
        public string Sfaa011 { get; set; }
        /// <summary>
        /// 生产数量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA012")]
        public decimal? Sfaa012 { get; set; }
        /// <summary>
        /// 生产单位 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA013")]
        public string Sfaa013 { get; set; }
        /// <summary>
        /// BOM版本 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA014")]
        public string Sfaa014 { get; set; }
        /// <summary>
        /// BOM有效日期 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA015")]
        public DateTime? Sfaa015 { get; set; }
        /// <summary>
        /// 工艺编号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA016")]
        public string Sfaa016 { get; set; }
        /// <summary>
        /// 部门供应商 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA017")]
        public string Sfaa017 { get; set; }
        /// <summary>
        /// 协作据点 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA018")]
        public string Sfaa018 { get; set; }
        /// <summary>
        /// 预计开工日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA019")]
        public DateTime? Sfaa019 { get; set; }
        /// <summary>
        /// 预计完工日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA020")]
        public DateTime? Sfaa020 { get; set; }
        /// <summary>
        /// 母工单单号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA021")]
        public string Sfaa021 { get; set; }
        /// <summary>
        /// 参考原始单号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA022")]
        public string Sfaa022 { get; set; }
        /// <summary>
        /// 参考原始项次 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA023")]
        public long? Sfaa023 { get; set; }
        /// <summary>
        /// 参考原始项序 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA024")]
        public long? Sfaa024 { get; set; }
        /// <summary>
        /// 前工单单号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA025")]
        public string Sfaa025 { get; set; }
        /// <summary>
        /// 料表批号(PBI) 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA026")]
        public string Sfaa026 { get; set; }
        /// <summary>
        /// No Use 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA027")]
        public decimal? Sfaa027 { get; set; }
        /// <summary>
        /// 项目编号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA028")]
        public string Sfaa028 { get; set; }
        /// <summary>
        /// WBS 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA029")]
        public string Sfaa029 { get; set; }
        /// <summary>
        /// 活动 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA030")]
        public string Sfaa030 { get; set; }
        /// <summary>
        /// 理由码 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA031")]
        public string Sfaa031 { get; set; }
        /// <summary>
        /// 紧急比率 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA032")]
        public decimal? Sfaa032 { get; set; }
        /// <summary>
        /// 优先级 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA033")]
        public long? Sfaa033 { get; set; }
        /// <summary>
        /// 预计入库库位 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA034")]
        public string Sfaa034 { get; set; }
        /// <summary>
        /// 预计入库储位 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA035")]
        public string Sfaa035 { get; set; }
        /// <summary>
        /// 手册编号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA036")]
        public string Sfaa036 { get; set; }
        /// <summary>
        /// 保税核准文号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA037")]
        public string Sfaa037 { get; set; }
        /// <summary>
        /// 保税核销 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA038")]
        public string Sfaa038 { get; set; }
        /// <summary>
        /// 备料已生成 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA039")]
        public string Sfaa039 { get; set; }
        /// <summary>
        /// 生产工艺路线已审核 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA040")]
        public string Sfaa040 { get; set; }
        /// <summary>
        /// 冻结 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA041")]
        public string Sfaa041 { get; set; }
        /// <summary>
        /// 返工 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA042")]
        public string Sfaa042 { get; set; }
        /// <summary>
        /// 备置 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA043")]
        public string Sfaa043 { get; set; }
        /// <summary>
        /// FQC 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA044")]
        public string Sfaa044 { get; set; }
        /// <summary>
        /// 实际开始发料日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA045")]
        public DateTime? Sfaa045 { get; set; }
        /// <summary>
        /// 最后入库日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA046")]
        public DateTime? Sfaa046 { get; set; }
        /// <summary>
        /// 生管结案日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA047")]
        public DateTime? Sfaa047 { get; set; }
        /// <summary>
        /// 成本结案日 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA048")]
        public DateTime? Sfaa048 { get; set; }
        /// <summary>
        /// 已发料套数 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA049")]
        public decimal? Sfaa049 { get; set; }
        /// <summary>
        /// 已入库合格量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA050")]
        public decimal? Sfaa050 { get; set; }
        /// <summary>
        /// 已入库不合格量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA051")]
        public decimal? Sfaa051 { get; set; }
        /// <summary>
        /// Bonus 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA052")]
        public decimal? Sfaa052 { get; set; }
        /// <summary>
        /// 工单转入数量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA053")]
        public decimal? Sfaa053 { get; set; }
        /// <summary>
        /// 工单转出数量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA054")]
        public decimal? Sfaa054 { get; set; }
        /// <summary>
        /// 下线数量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA055")]
        public decimal? Sfaa055 { get; set; }
        /// <summary>
        /// 报废数量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA056")]
        public decimal? Sfaa056 { get; set; }
        /// <summary>
        /// 委外类型 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA057")]
        public string Sfaa057 { get; set; }
        /// <summary>
        /// 参考数量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA058")]
        public decimal? Sfaa058 { get; set; }
        /// <summary>
        /// 预计入库批号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA059")]
        public string Sfaa059 { get; set; }
        /// <summary>
        /// 参考单位 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA060")]
        public string Sfaa060 { get; set; }
        /// <summary>
        /// 工艺 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA061")]
        public string Sfaa061 { get; set; }
        /// <summary>
        /// 纳入AMRP计算 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA062")]
        public string Sfaa062 { get; set; }
        /// <summary>
        /// 来源分批序 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA063")]
        public string Sfaa063 { get; set; }
        /// <summary>
        /// 参考原始分批序 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA064")]
        public string Sfaa064 { get; set; }
        /// <summary>
        /// 生管结案状态 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA065")]
        public string Sfaa065 { get; set; }
        /// <summary>
        /// 多角流程编号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA066")]
        public string Sfaa066 { get; set; }
        /// <summary>
        /// 多角序号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA067")]
        public string Sfaa067 { get; set; }
        /// <summary>
        /// 成本中心 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA068")]
        public string Sfaa068 { get; set; }
        /// <summary>
        /// 可供给量 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA069")]
        public decimal? Sfaa069 { get; set; }
        /// <summary>
        /// 原始预计完工日期 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA070")]
        public DateTime? Sfaa070 { get; set; }
        /// <summary>
        /// 模具号 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD001")]
        public string Sfaaud001 { get; set; }
        /// <summary>
        /// 工单备注 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD002")]
        public string Sfaaud002 { get; set; }
        /// <summary>
        /// 计划备注2 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD003")]
        public string Sfaaud003 { get; set; }
        /// <summary>
        /// 生产备注1 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD004")]
        public string Sfaaud004 { get; set; }
        /// <summary>
        /// 生产线别 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD005")]
        public string Sfaaud005 { get; set; }
        /// <summary>
        /// 精加工线别 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD006")]
        public string Sfaaud006 { get; set; }
        /// <summary>
        /// 车间排程日期 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD007")]
        public string Sfaaud007 { get; set; }
        /// <summary>
        /// 变更时间 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD008")]
        public string Sfaaud008 { get; set; }
        /// <summary>
        /// SFAAUD009 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD009")]
        public string Sfaaud009 { get; set; }
        /// <summary>
        /// SFAAUD010 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD010")]
        public string Sfaaud010 { get; set; }
        /// <summary>
        /// 机加投入人天 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD011")]
        public decimal? Sfaaud011 { get; set; }
        /// <summary>
        /// 机加调整 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD012")]
        public decimal? Sfaaud012 { get; set; }
        /// <summary>
        /// 抛光调整 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD013")]
        public decimal? Sfaaud013 { get; set; }
        /// <summary>
        /// SFAAUD014 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD014")]
        public decimal? Sfaaud014 { get; set; }
        /// <summary>
        /// SFAAUD015 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD015")]
        public decimal? Sfaaud015 { get; set; }
        /// <summary>
        /// SFAAUD016 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD016")]
        public decimal? Sfaaud016 { get; set; }
        /// <summary>
        /// SFAAUD017 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD017")]
        public decimal? Sfaaud017 { get; set; }
        /// <summary>
        /// SFAAUD018 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD018")]
        public decimal? Sfaaud018 { get; set; }
        /// <summary>
        /// SFAAUD019 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD019")]
        public decimal? Sfaaud019 { get; set; }
        /// <summary>
        /// SFAAUD020 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD020")]
        public decimal? Sfaaud020 { get; set; }
        /// <summary>
        /// 计划生产时间 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD021")]
        public DateTime? Sfaaud021 { get; set; }
        /// <summary>
        /// 计划完成时间 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD022")]
        public DateTime? Sfaaud022 { get; set; }
        /// <summary>
        /// SFAAUD023 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD023")]
        public DateTime? Sfaaud023 { get; set; }
        /// <summary>
        /// SFAAUD024 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD024")]
        public DateTime? Sfaaud024 { get; set; }
        /// <summary>
        /// SFAAUD025 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD025")]
        public DateTime? Sfaaud025 { get; set; }
        /// <summary>
        /// SFAAUD026 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD026")]
        public DateTime? Sfaaud026 { get; set; }
        /// <summary>
        /// SFAAUD027 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD027")]
        public DateTime? Sfaaud027 { get; set; }
        /// <summary>
        /// SFAAUD028 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD028")]
        public DateTime? Sfaaud028 { get; set; }
        /// <summary>
        /// SFAAUD029 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD029")]
        public DateTime? Sfaaud029 { get; set; }
        /// <summary>
        /// SFAAUD030 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUD030")]
        public DateTime? Sfaaud030 { get; set; }
        /// <summary>
        /// 齐料套数 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA071")]
        public decimal? Sfaa071 { get; set; }
        /// <summary>
        /// 保税否 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA072")]
        public string Sfaa072 { get; set; }
        /// <summary>
        /// 预计入库库存管理特征 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA073")]
        public string Sfaa073 { get; set; }
        /// <summary>
        /// SFAAUA001 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA001")]
        public string Sfaaua001 { get; set; }
        /// <summary>
        /// SFAAUA002 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA002")]
        public string Sfaaua002 { get; set; }
        /// <summary>
        /// SFAAUA003 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA003")]
        public string Sfaaua003 { get; set; }
        /// <summary>
        /// SFAAUA004 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA004")]
        public string Sfaaua004 { get; set; }
        /// <summary>
        /// SFAAUA005 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA005")]
        public string Sfaaua005 { get; set; }
        /// <summary>
        /// SFAAUA006 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA006")]
        public string Sfaaua006 { get; set; }
        /// <summary>
        /// SFAAUA007 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA007")]
        public string Sfaaua007 { get; set; }
        /// <summary>
        /// SFAAUA008 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA008")]
        public string Sfaaua008 { get; set; }
        /// <summary>
        /// SFAAUA009 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA009")]
        public string Sfaaua009 { get; set; }
        /// <summary>
        /// SFAAUA010 
        ///</summary>
        [SugarColumn(ColumnName = "SFAAUA010")]
        public string Sfaaua010 { get; set; }
        /// <summary>
        /// AMRP执行时间 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA074")]
        public string Sfaa074 { get; set; }
        /// <summary>
        /// 与日计划冲销否 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA075")]
        public string Sfaa075 { get; set; }
        /// <summary>
        /// 产线 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA076")]
        public string Sfaa076 { get; set; }
        /// <summary>
        /// 班别 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA077")]
        public string Sfaa077 { get; set; }
        /// <summary>
        /// 过期工单纳入日计划计算否 
        ///</summary>
        [SugarColumn(ColumnName = "SFAA078")]
        public string Sfaa078 { get; set; }
    }
}
